<?php if (isset($_SERVER['HTTP_USER_AGENT']) && !strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<link rel="stylesheet" type="text/css" href="home/view/stylesheet/stylesheet.css" />
<?php foreach ($styles as $style) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
<?php } ?>
<script type="text/javascript" src="home/view/javascript/jquery/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="home/view/javascript/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="home/view/javascript/jquery/jquery.form.js"></script>
<script type="text/javascript" src="home/view/javascript/jquery/jquery.blockUI.js"></script>
<script type="text/javascript" src="home/view/javascript/common.js"></script>
<?php foreach ($scripts as $script) { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie7.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('#logo img');
</script>
<![endif]-->
</head>
<body>
<div id="container">
<div id="header">
<div id="menu">
  <ul>
  <li><a href="<?php echo $home ;?>">管理面板</a></li>
  <li><a href="javascript:void(0);">站点管理</a>
    <div>
    <ul>
        <li><a href="<?php echo $site_list ;?>">站点列表</a></li>
        <li><a href="<?php echo $site_manger ;?>">添加站点</a></li>
    </ul>
    </div>
  </li>
   <li><a href="javascript:void(0);">目录管理</a>
    <div>
    <ul>
        <li><a href="<?php echo $category_list ;?>">目录列表</a></li>
        <li><a href="<?php echo $category_manger ;?>">添加目录</a></li>
    </ul>
    </div>
  </ul>
</div>
</div>
<div id="notification"></div>
